package com.ldg.user.client;

import com.ld.pojo.R;
import org.springframework.stereotype.Component;

/**
 * @Author: Liudao
 * @Date: 2022-10-09-17:25
 * @Description:
 */
@Component
public class MyFallBackImpl implements ManagerClient {
    @Override
    public R findAll() {
        return R.error().put("msg","fallBack--->调用findAll()失败！");
    }

    @Override
    public R info(String id) {
        return R.error().put("msg","fallBack--->调用info()失败！");
    }
}
